package com.cy.springcloud.controllers;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: 第一个controller
 * @ClassName: HelloController
 * @Author: chenyu
 * @Date: 2025/1/3 14:39
 */
@Slf4j
@RestController
public class HelloController {

    @RequestMapping(value = "/hello", method = RequestMethod.GET)
    public String hello() {
        log.info("服务提供者03.........");
        return "Hello Spring Cloud, i am provider03";
    }
}
